<?php
require_once 'inc.php';

header('Content-type: image/jpeg');
$r = new ResizeImage();
$r->load($_REQUEST['f']);
$r->autoResize(300, 300, 300, 300);
$r->output();
